#pragma once
#include "GameboardModel.h"

class CommandAction
{
private:
	GameboardModel* m;

public:
	CommandAction(GameboardModel*);
	void undoPlaceWall(PlayerModel* player, WallModel&);
	void doMovePawn(PlayerModel*, Position&);
	void doPlaceWall(PlayerModel* player, WallModel&);
	void validateMovePawn(PlayerModel*, Position&);
	void cancelPlaceWall(PlayerModel* player, WallModel&);
	void validatePlaceWall(PlayerModel* player, WallModel*);
	bool checkPlaceWall(WallModel*);

};